package com.blog.bean.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 任浩
 * @version 1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("examine")
public class Examine {

    @TableId(type = IdType.ASSIGN_ID)  //使用雪花算法自动生成id
    private Long id;

    @TableField("title")
    private String title;

    @TableField("options_a")
    private String optionsA;

    @TableField("options_b")
    private String optionsB;

    @TableField("options_c")
    private String optionsC;

    @TableField("options_d")
    private String optionsD;

}
